@keyframes background-animation {
    0% {
        filter: blur(0px);
    }

    100% {
        filter: blur(2px);
    }
}

@keyframes forget-form {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

html,
body,
.main {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    min-width: 1600px;
    min-height: 800px;
}

.main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    .background {
        position: absolute;
        width: 100%;
        height: 100%;
        background: transparent url("../images/background.png") no-repeat scroll center;
        background-size: 100%;
        transform: scale(1.1);
        filter: blur(2px);
        animation: background-animation 1s;
    }
}

.forget-form-box {
    display: flex;
    position: relative;
    width: 1450px;
    height: 650px;
    background-color: white;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
    animation: forget-form 2s;

    .forget-background {
        content: '';
        display: block;
        width: 1100px;
        height: 100%;
        background: white url("../images/background.png") no-repeat scroll center;
        background-size: 100% 100%;
    }

    .forget-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 350px;
        height: 100%;

        .title {
            position: absolute;
            top: 50px;
            font-size: 28px;
        }

        input {
            width: 240px;
            height: 32px;
            margin-bottom: 16px;
            outline: none;
            border: rgb(242, 242, 242) solid 1px;
            background-color: rgb(242, 242, 242);
            border-radius: 2px;
            text-align: center;
            transition: border .3s;

            &:focus {
                border: rebeccapurple solid 1px;
            }
        }

        .code-pane {
            display: flex;
            width: 246px;
            height: 32px;
            margin-bottom: 16px;
            border: rgb(242, 242, 242) solid 1px;
            background-color: rgb(242, 242, 242);
            border-radius: 2px;
            transition: border .3s;

            &:focus-within {
                border: rebeccapurple solid 1px;
            }

            .code {
                width: 60%;
                border: none;
                background-color: transparent;
            }

            .code-button {
                width: 40%;
                border: none;
                background-color: transparent;
                transition: color .3s;
                cursor: pointer;

                &:hover {
                    color: rebeccapurple;
                }
            }
        }

        .forget-button {
            width: 245px;
            height: 36px;
            border: rebeccapurple solid 1px;
            background-color: rebeccapurple;
            color: white;
            transition: opacity .3s;
            cursor: pointer;

            &:hover {
                opacity: 0.5;
            }
        }

        .link {
            position: absolute;
            bottom: 50px;
            width: 240px;
            font-size: 14px;
            text-align: left;

            a {
                outline: none;
                text-decoration: none;
                color: rebeccapurple;
                transition: opacity .3s;

                &:hover {
                    opacity: 0.5;
                }
            }
        }
    }
}